Added directive to layout