Remove compatibility with PHP 5.2 because of closure usage