Minor improvements to checks and documentation.