Made caching a little faster.