Refactor to remove url_parameters, and extract that same info from resources, complete. Tests pass.