remove unused messaging functions