Change the ckd constructors to return ckd instead of using a param