Renamed "root" attribute of Doctype helper to "element".