Probably should check `baseUrl` for null and throw an `ArgumentNullException` or an `ArgumentException` if it's empty.