Fixes to document modes