added missing 'restrictionvisitor' class