Improved documentation of library.