Fix get_class_ns, adding full clean command