Foundation setup.