Finished Register class.