Added @action(callback) -> on to the registry dsl