Adds attribute directive.
Merge pull request #1 from JonathanPorta/attributes-directive

Adds attribute directive.