Switch templates to outer html approach.