Throw MismatchedMessageKeysException in message constructor if keys are incorrect.