This should be in register.lua, using make_registration.
Also: The style for these is generally `registered_on_<name>s`.