Register name implemented.
Further changes to registering.