Added template render function, optionNames and subscribeTo functions to the View