Removed empty doc.
Updated some of the doctests so that they don't rely on the order that
bag elements are printed.