Use staticmethod decorators, as we have given up trying to port to python 2.4