Added exchange method.
Merge remote-tracking branch 'remotes/origin/master' into repl