Add starmap function.