Adding support for reindex method