Fixing class_exists