Add convert document type as a step before other conversions.