Split bind into bindArray and bindItem.
Fix mutable state in bindArray.