Proxy function instead of fixed url.