Rename Message.open() to Message.iter(), and getnext() to pop().