Add basic API for registering, unregistering, and getting actions.