Add ability to control caching.