Remove redundant stuff.