Clean up library.