Fixed incorrect decorator for class method
Fixed ABCMeta use in python 2.6