cast to string - maybe add `class_exists`?