Add methods for receiving and sending messages (not called yet)