Reorganise ways to configure ctst.