Collections must use ArrayList instay of simple arrays.