Add compatibility check for interface methods