Adding more flexibility to the weather component.