Renders now done at the document level - fixes all the issues with layout divs and lists