Added createUrl and createAbsoluteUrl to view