Kludge around Python2.6: classmethod introspection