`x` and `y` are not in the `kwds`. What you had written before was correct:
```
self.x = x
self.y = y
```