Basic index building.