renamed DocInterface to IDoc