Added base template and supporting features.