Modified the constructors of all agents to accept a transducer argument.