I'd expect the references are included into the output definition and thus part of `output do .. end` block. What was the motivation to put it on the same level?