Prepare all templates