Convert IO operations earlier