adaptation to Pimple 2.0