prevent multiple registrations of the same object type