nil-proofing of MZObject