Make trusted_networks an attribute