Use class and function decorators -- even in Python 2.3