api: local array creation explicit. remove null placeholders.