updated with directives docs