Clean up library