Added a lot of function localizations.