Classes implementing the Visitor pattern used to perform various functions on the activity definitions.