Update services.js - added necessary properties to task instance.