Defines interfaces for the scenario and its factory.