Fix errors on registrations.