Added comment on DetectKeyType method.