add list_kinds method to Trainer class