I get this on using just __name__ 

```
AttributeError: 'PanTool' object has no attribute '__name__'
```