Revert "Remove unneded parameter."

This reverts commit 12ffa6d13c71a4f3628864324c770510b1a15e0a.