rename all calls to sent_messages() and received_messages() (thanks @jerith)