define the DummyDocument better and clean the DB Document API