Fix comment on some lines

Casting an object from an array just look ugly. What's the rationale behind that choice versus instantiating a standard class?