add spying on instance methods