Documentation updated to match changes for mode and submode.
This completes changes for issue #29.