Remove afnetwork usage