Support PHP 5.3 by removing $this from the closure.