Add template code in render() stub