change unused argument name to `ignored', remove unused variables.