Refactoring method name of Message class.