Minor enhancements and documentation.