Changed scope of urlparts, method and callback