Renamed network device to just 'device' as we should keep our code as
agnostic as possible.