Remove redundant form variables.