Added spec for the insertion of documents