Adding templates and localization.