Extended message functionality: implemented but not tested yet.