Adding theme support for formats.
Adding format templates.