Extensive documentation improvements.