improved Get/Set Params in P2PConstraint