Update useless foundation code