switch to class decorators, for Py3