Implemented preliminary (and hopefully temporary) index layout.