Initial import.
Made this a subclass of Document.