Add local variable in scope, so that assignment in closure has an effect