JAL-1705 isEmpty() and (debug) toString() methods added