Removes unnecessary __block flag
Removes REST specific service calls.