Added isComplete flag and updated NetworkService to use it.