Update to new QAST annotations API.