Enable hook caching.