Adding directive fragment