Adding required directives.