Implemented queue spec.