Implemented usage of access contexts in indexing.