Move all logic to adjust URIs to UriAdjust module.