Unit tested registration to 98% coverage. (#20)