Could overload to take a URL if that's not already supported.