Remove a few unused variables and constants.