ENH: to dump class definition