Fix stupid registration bug.