A small modification to get rid of unused variable warnings.