Thousands of homes were destroyed in the Philippines.