Integrals are made as templates