Add support for @dir keyword