Export the Index constructor