Fix using Q in examples