Fixed the kind detect function docblock