[FIXED JENKINS-25375] Restore deprecated method override for binary compatibility.