Change hardcoded values in Network to enum