Extension for generating an optimized widget set based on what widgets are actually used