Added Documents array functions