Added support for $Q'ing through an output global.

Scalar output doesn't support $Q yet.