Fix warning about unused parameters.