Encapsulation for Task Object