Drastically simplify code.