Fixed issue #21 about changes not being recorded.