Ddecorator to automatically detect mismatch when overriding a method
