Adding mongoid thread-cache.