Implement caching support, including a wrapper class for the Drupal cache