Code used in the QA DB.