Remove some unused variables.