Upgraded Foundation to version 5.2.1