Removed env parameter from add_optarg.
Removed env_t parameter from val_t::as_func and func_t shortcut function helpers.