Get rid of useless variables.