Reassign array attributes on set

Previously, the array was being appended to by set operations. This changes the implementation to reassign the property like a standard attr_accessor would.