Changed _collection to messages