Implemented the rest of library.