Remove error checking.

Steve suggests that I just give up on it.
Add the ClearFlags type.