Remove getFinalUrl() from Controller.