Revert "Remove uneeded parameter"

This reverts commit f0033d82a43d241f10051830d6d0287c675bacd6.