Implemented basic library.