move defaultKind into the security