Split RegisterModel up a bit, so it looks a bit cleaner.