Refactoring.
Stubs can use interfaces or traits.