Add length to Documents.