Changes made to support AFNetworking 2.0