Modifications for RestKit and iOS 8 compatability