Move `url` to last place in parameter list
Remove `inmem` flag, use NULL name instead
Include checkout options inline