registration_type is unused, please remove