remove unnecessary function "add_dependencies" in NetworkGatewayConnection