Added Qe.drain for testing execution.