We still need this line, but it should be:

```
var val = this.value(attr);
```

so it works with any adapter