Add the constKind function.