use new method name

Make sure document.registerElement is used.