add a clean version of NamedParams.p API