Added prototype for templating