Removed duplicated indexBy declaration.