Change ip_network method to netblock, which is more consistent with general syntax.