Add foreach_document(), documents[] examples