Minor thing but this could have a better name. What cache does it clear? It's the list of registered action functions, right? So maybe `clear_actions_cache()` or `clear_actions()` or something.