Avoid using $this in closure for PHP < 5.4.