Fix parse() and as_string() methods to get right URL.