Finished the register command.