More friendly casting.