Turn off deprecated function warnings.