Backward compatibility with AFNetworking 2.0