Remove useless/obsolete variables.