Added interfaces for controlling message flow, added methods to VisitorInterface.