Now using module-level register for Element.