Cleanup: Removed redundant gallery.build_index()