Fixes #28. Realm integrated for iOS and OSX.