Fixes #9842 - rename the register method which deprecates the old one
(cherry picked from commit 0a30da74a18c21a0f8755fb45d904e4f0b4a52a5)
Fixes #9842 - rename the register method which deprecates the old one
(cherry picked from commit 0a30da74a18c21a0f8755fb45d904e4f0b4a52a5)