Fix RuntimeError: can't modify frozen Addressable::URI