Fix @since detection
diff --git a/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt b/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt
index 5c30840..c890e94 100644
--- a/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt
+++ b/core/src/main/kotlin/Kotlin/DescriptorDocumentationParser.kt
@@ -135,7 +135,7 @@
                 }
             } else if (name?.toLowerCase() == "since") {
                 val apiLevel = DocumentationNode(it.getContent(), Content.Empty, NodeKind.ApiLevel)
-                append(apiLevel, RefKind.AvailableSince)
+                append(apiLevel, RefKind.Detail)
             }
         }
     }
diff --git a/core/src/main/kotlin/Model/DocumentationNode.kt b/core/src/main/kotlin/Model/DocumentationNode.kt
index 145d45d..cbc695f 100644
--- a/core/src/main/kotlin/Model/DocumentationNode.kt
+++ b/core/src/main/kotlin/Model/DocumentationNode.kt
@@ -113,7 +113,7 @@
     val attributes: List<DocumentationNode>
         get() = references(RefKind.Attribute).map { it.to }
     val apiLevel: DocumentationNode?
-        get() = references(RefKind.AvailableSince).map { it.to }.firstOrNull()
+        get() = detailOrNull(NodeKind.ApiLevel)
 
     val supertypes: List<DocumentationNode>
         get() = details(NodeKind.Supertype)
diff --git a/core/src/main/kotlin/Model/DocumentationReference.kt b/core/src/main/kotlin/Model/DocumentationReference.kt
index 7af072e..3f5d9eb 100644
--- a/core/src/main/kotlin/Model/DocumentationReference.kt
+++ b/core/src/main/kotlin/Model/DocumentationReference.kt
@@ -20,8 +20,7 @@
     TopLevelPage,
     Platform,
     ExternalType,
-    Attribute,
-    AvailableSince
+    Attribute
 }
 
 data class DocumentationReference(val from: DocumentationNode, val to: DocumentationNode, val kind: RefKind) {