Fixed invalid use of $this within match closures.
Merge pull request #4 from mcrumm/bug/closure

Fixed invalid use of $this within match closures.