Added getDetails() for a Task