Added some static methods to Compatibility.class