Removed unused interface. Replaced goTask by task.