Reorganized url passing, by adding a backend method.