ENH: Add message handler functions.