Fix access of weakly linked Core Data classes