Revert "Updated to Foundation 5.2.2"

This reverts commit c8ca035dd45ff121dda960bd13519a7917c519ec.