Added localization and template system.