Get rid of the deprecated API message during builds.