Add @SuppressWarnings("deprecation")