`class_exists` shoule be more performant but it's better to measure it somehow.