Split into two directives