Adding support for purging subnets