Remove mode syntax.
Merge pull request #1 from caitp/fix-mode

Remove mode syntax.