This should be set at the first line of the method, so it is always present for the `ensure` block.