Checking subclass