Convert WKTGenerator to a service and provide Unit tests for it
Issue #2348601 by Brandonian, plopesc: Convert hook_element_info implementations to new Element classes.