Undef check. Nasty stuff from Apple here. Should maybe try to just
forward declare these though.