Move check out of header so people using -fobjc-arc in non-ARC projects can still use this class.