Do not use deprecated set_variable() method.