Fixes #7 Propagate exceptions and results better.