Remove io namespace require when unnecessary