Added localization mechanism for Loop.