Implemented Prototype for registration.