Fix registry exercise.