Change links form varargs to slice