Added array_build helper.
Merge branch '4.0'