Implemented desiralization method for MessageBlock class.