Correct CamelCase issue with dictionary keys, and correct semantic warning in AbstractMessage.