Add cdr setting and some peco functions.