valcfg class removed, config_tree is to be used instead.