Added spyOn to the list of methods to recognize