Remove unneeded stuff from copying in CherryPy