Added query tracking to DB class.