Refactoring function signatures: use interfaces