made the directives both accessible as Element and Attribute