added attribute support for python2.7