ignore statement contexts when indexing
refactor
implement index(Statement)