The contents of a whale's stomach reveals more than just its diet.