Move dependencies out of the constructor in the exchange classes