Migrated code to ARC and modernised Objective C.