Cleanup WayEditor class