XML documentation fixes. Fixes unescaped entities and incorrectly specified targets. Removes tags for parameters that don't exist.
Re-added removed comment for 'mod' as 'state'.