If the class does not exist then don’t register it