Update prototypes for open_message and get_message_data