Expose clear() method.
Assert on error instances.
Rename stringify() to toObject().
Remove obsolete assertions.