Added another CP factory method.