Fix invoking functions with two slot args.