Checking reflection class equality based on name to avoid HHVM errors.