Switch to using the external exceptions module