Would like it if we built `resolveUrl` inside of here, instead of on line 58.