Add format compatibility check