Renamed private properties in behat events to support Symfony's Serializer calls.