Implemented queue dump.