Removes references to registration.