Allow switch to work with named_args