Adding mock object to self-inspect while running locally as a web app.