Renamed Pid.getInteger() to Pid.toInteger().