Remove redundancies.