Revert ValueError to TypeError for missing args

Sorry for the mess.