Simplify code. Reduce redundancies.