Using defaultdict for building argument lists was clever, but doesn't
actually work...