using extend in the packaging of urlparms so as to clone them and not use a reference