Taking care of some deprecated values in CherryPy code