Added TQueue structure.