Expose renderDocType