Roughing in the interfaces for the index api