While CPChain is documented in the manual, it cannot be used to create custom samplers. I suggest exposing CPChain also in the RNested namespace.