Added beginning of Registration method.