Wrap a variable in environment