Fix registration.