Fixes #2426: Changed URL creation method signatures to be consistent