registerDefaultHandler changed to setDefaultHandler (and no exception is...

... thrown if it is called multiple times).