The generic web component is improved by metaprogramming in dartling.