Switched from 'extern' to FOUNDATION_EXPORT. Could use COREDATA_EXTERN instead, but... naaaah.