Nicer memory usage on registration.