Fix type error for more strict drivers.