Fixed type issue with KnowType attribute