Fixed localizer constructor