Added engine_parse_index function.