Dumping current state (not sure if it works).