Added use_cas setting to global context.