fixes #2588 - fixed regression introrduced earlier: localization works for non-AR classes too now