added MagicalRecord v2.2