Deprecated function warnings disables