Changed implementatation details of get all method in activity service.