Adds layout template rendering and recursive partial reading