Fixes to get Register::sendRegistration() to run.