Add options optimizationLevel
Add option `doctype`