Adding DocManager and IDocManager