def __init__(self, id, view, classname=None, parent=None, **kwargs):
super(Document, self).__init__(id, classname, parent, **kwargs)<EOL>self.view = view<EOL>
:param view: :class:`~.application.View` in which the document is declared.