Add network calls and revector read and write calls to the original functions.