Revert "Fix parameter mismatch between header and implementation"

This reverts commit 52b3b035db2077a5672ccf513a89c5da4d038b87.