@Constructor support in templates