Use legacy index library for legacy support.