Remove undocumented clearWarnings override

We will reintroduce support for this via a more general mechanism
in #11.
[trivial] Fix indentation