Implement some interfaces from contracts.