Replace AssociativeArray struct with UFCS methods