Added watchMethod(), allowing object method calls to be spied upon.