add default_errordef and remove a couple deprecated oneshot

..._