Constants which represent messages types' codes renamed CODE_* -> TYPE_*.
And constants also moved from Abstract message to the MessageInterface.