iOS changes for OrmLite

Preparing for OrmLite support for iOS.