Added legacy-option to toggle legacy and experimental implementations of CSP.