Separate array & doc building
Remove redundant array constructors.
Simply forward to document constructors
Fix element construction & value setting when string literals are
involved