Fixed a lot of immutability issues by always having an immutable array buffer underneath.