Fix bugs in the KVC validator and add some docs