Rewrite removed assertLists into assertArgTypes.