Added a function to reset the url pattern to the default pattern.