optional parameter for list-classes (untested)