The last refactoring introduced a bug with the withArgs function.