Make MessagesFragment be hosted by the MainActivity.