Renamed private properties in behat events to support Symfony Serialize calls.