Added the registration procedures.