Added ability to get last path of URI request