Add in index implementation.