add callback to registrations