Issue #2325185 by dawehner, tim.plunkett: Convert views_element_info() to Element classes.