Simplify registering actions