gi: Set collectpads function param scope