Export monadic API, deprecate convenience IO actions.