Add variant mutability and binary encoding of arrays.
Self-review