Remove unused parameter.

Closes #1042.