Move @:generic from ReadOnlyArrayList to work
 around compiler hang. Fix other errors first :)