Make the backend support stdin.