Add API methods: getValidData, isValidData, getValidVar, isValidVar