Now it works for tables and stuff (removed the need to <div>-wrap templates with regions as their top-level element)