public function addAllowedProperty($class, $property)
    {
        if (!isset($this->allowedProperties[$class])) {
            $this->allowedProperties[$class] = [];
        }
        $this->allowedProperties[$class][] = $property;
    }