I don't think that passing the `arg.generate_url` paramenter is necessary, after all, we can use it directly in `generate_url()`