Indexes

Closes #234