As this is the only usage of WebObject, just add the PID field here and remove WebObject.