Reintroduce ListView.
Fix for older PHP versions.
Fix for older PHP versions regarding anonymous functions and $this.