Disable deprecation warning inside the library