NOTE: output from stub functions goes to the Chrome debugger window. Make sure to open the Chrome Developer Tools.