Some work on the layout documentation.