Issue #2348601 by Brandonian, plopesc: Convert hook_element_info implementations to new Element classes.