Fixing bug caused by removal of setUrlPlugin