scm: Add with-throw-handler hack.