Fix call to URL::to in HtmlBuilder.
Fix docBlocks for PHPStorm.