added a const accessor for the exchange context