Code base for templating prepared.