Added missing conversion for ref type 'message'