add methods to Subnet interface.