workaround for class decorators in py2.5