add an implicit conversion from pair to Message