Sync function parameters had mismatched order 

Apparently the order of method and model has been reversed in later versions of Alloy. Swapping position of method and model in function declaration to fix this.
Merge pull request #2 from grantges/patch-1

Sync function parameters had mismatched order