Revert "config::Add new api opt"

It does not compile, I'll have to investigate

This reverts commit 5946961718e13ae72f97e17d849bd2d3f258e0e3.