Do this in the constructor? So that you don't have to call .render() to check .template