Changing return types to Objects (from primitives) in the TaskSummary interfaces
(cherry picked from commit de1c4a355a2436a3fe8f7de30180ee81ad3264bb)