Support method stubbing.