remove multiple constructor on documentstore factory