Adding basic document management classes