More complex templates and generation.