Refactor 'inet' out.