Some bugfixes in array operations.
Add 'set' to object operations.