Add support to set array sizes in docs
Add array sizes on insert/save