Cleaning up library.