Patched KeyValues class