#SquirrelJME: Okay so I fixed it. I was basically checking if storing value's ClassInfo (like Class<T>) was compatible with the array type, so basically ClassInfo instanceof Object[] which obviously is false. I now correctly check that all the types are valid now!