Use toUrl to get dependencies