All methods in spy.cpp should be static.