Added Cleanup call to MagicalRecord