Prepare for receiving messages