Prepare models for caching