Cleaning up the library