#249 remove redundant class_exists test