Python 2 doesn't support class methods.