Reworked to get rid of StreamingMarkupBuilder
   * templates are statically compiled
   * unresolved methods/properties are executed in mixed mode