Allow registration_id as string instead of integer.