Fixing Network class methods to get list of nodes and links casted to extended objects.