toString() must be changed to printState() in the new Vaadin version
Merged 'develop'.