Improved checking, documentation of modes (RHBZ#582901, RHBZ#582929).