Making type subnets depend on the chosen env