Added _template capability to routing mechanism