Optimizes config classes in MWLib