Fixed do-register-new's "when" to be correct.