Made argument passing in registration