Fix #23 - PHP 5.3 doesn't support $this in closures