take out QVactor and instead use std::vector for Document.