Extensive documentation additions.