Refactored to satisfy the recent changes of package aivika-experiment.