Use isolator in actions to improve testability. Fixes #2.