Add custom caching mixin.