Added scanner operations and document / documentindex helpers