Histories are synchronized

Fixes #289.
done.