0.1.7 added template support