Parser: Implement naive indexing.