Doc for templates. stage 1