Beef up and format documentation.