Got template rendering (and sub template rendering) working.