Started fixing array_element class