Foundry templates