Adding overload which accepts Uri