Add compatibility check