Improve swap documentation