Supress warnings deprecation