Minor fixes and documentation.