3.0 small typos correction

- fixes more typos for 3.0 API
we could also make this `array|null` to be more explicit then?