Added Document wrapper