Completed registration code.