Modified method to always return the registrationID.