Changed how the cache works. Now you can specify what types of objects to cache at the beginning. All other objects are queried and cached as needed.