Documentation updates in line with most recent code