XXX: Make isPK and isAutoIncr public