Added helper methods to Task