Fixes #9 - Make Actions exception-safe