Using new IndexDocument as output for ifc:s and input for Index.