My initial thought was too save the pointer to ``icUnit`` in a local variable and then operate on it. While doesn't give you correctness, at least there is some consistency.