Clean up after caching