feature #1664: Vector value support in extended template