Functional DOM manipulation.