Expose FilterDirective type so that filter may be applied as expected.
Add `filter` alias to `FilterDirective`.
Merge pull request #276 from unfiltered/filter_directive_fixes

Filter directive fixes