get_classes(): Override ismethod for py3k too