Added comments to the localization controller.