Fix recognizing unknown types