Utils.getDefaultSlotInstance() moved to Slot.getDefaultSlotInstance()
and big conditional statement replaced by map.