Added queue class.