interface: Made ck_cohort interface more flexible for custom types