Fix typo; registration function should be register.