Tidy up and move documentation around.