Allow options to be passed to index()