Cleaning up message objects