Modified I/O to use actors.