Spying prototype instead of instance methods
[skip ci]
Consolidated destination flag variable [skip ci]