Url::createFromPath() was removed, use url objects early and routes where possible.