Some API changes to incorporate feedback

Also, some beginnings of RB indexer.