The proper fix is to use ``$this->supportsClass()``