Got rid of unused parameter warnings.