Add stubs for network calls and json parsing.