Small refactor in mono support.
Merge pull request #82 from rachelreese/master

Small refactor for mono support.