Fix "unused parameter" warnings