Fixed #9. self inside a closure does not reference current class in PHP 5.3