Use a single function __get_messages whether there are several or just one message to retrieve