Implements template render option