Declaration.IsInternal is no longer true when Declaration.GenerationKind is Generate.