Add slashes to class_exists calls