Mark deprecationWarning as private.