MagicalRecord cleanup.