Extract messages