Updated documentation for lib