Add indexing framework.