More pythonic? I think this is the first case of a class inside a class I have seen :smile:

They are pretty common in Java, but not much in Python.