now NamedArgType works with type comparisons and its VarTypes can be replaced with actual types