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