Refactored EntityCache. Made CommentsCache to extends EntityCache.