valcfg wrapper adapted to new config_tree/validator interface