Style and documentation improvements.