Draft index implementation and smoke test.