Getting ice type in order to create derivatives of ObjectWrapper/ObjectWrapperImpl initially so they can be dynamically cast later.