Moved localization source configuration to preinitialize.