Add direction mixin

- Closes #200