Add polymorphic versions of ArrayHandle and CellSet so that you do not have to find static types of everything.