Disable deprecation warnings for stable branch.