Compose templates