Add Base pattern to Component template.