Added simple mutable local variables implemented using refs.