added template only support for components