Fix "singleton can't be dumped" marshaling error.
Bump version to 0.8.2.