Finish registration