Port attribute and effect pages to DOM.