* Pass  by reference again.
Merge pull request #54 from muesli/master

Pass mod by reference again.