Autogenerate DOM bindings for Document.