Renamed ITask to Task and added inline methods.