Added directive through index