adding layout directive.