Exclude abstract methods with contracts.