Add ability to skip caching for a particular class.