Fix clang unused argument warnings