Also `register_custom_cache` is really just to specify parameters to pick the bass class from known base classes.