diff --git a/indra/newview/llsyntaxid.cpp b/indra/newview/llsyntaxid.cpp
index dfbb8c9551a549ec4af054aa46ee43be829462c7..7551c1a4429130de2394632d5578679297c378fc 100644
--- a/indra/newview/llsyntaxid.cpp
+++ b/indra/newview/llsyntaxid.cpp
@@ -103,17 +103,34 @@ void fetchKeywordsFileResponder::cacheFile(const LLSD& content_ref)
 //-----------------------------------------------------------------------------
 // LLSyntaxIdLSL
 //-----------------------------------------------------------------------------
-const std::string FILENAME_DEFAULT = "keywords_lsl_default.xml";
+const std::string LLSyntaxIdLSL::CAPABILITY_NAME = "LSLSyntax";
+const std::string LLSyntaxIdLSL::FILENAME_DEFAULT = "keywords_lsl_default.xml";
+const std::string LLSyntaxIdLSL::SIMULATOR_FEATURE = "LSLSyntaxId";
 
-LLSyntaxIdLSL::LLSyntaxIdLSL()
-:	mFilePath(LL_PATH_APP_SETTINGS)
-,	mFileNameCurrent(FILENAME_DEFAULT)
-,	mSyntaxIdCurrent(LLUUID())
-{}
+/**
+ * @brief LLSyntaxIdLSL constructor
+ */
+LLSyntaxIdLSL::LLSyntaxIdLSL() :
+	mInitialized(false),
+	mKeywordsXml(LLSD()),
+	mLoaded(false),
+	mLoadFailed(false),
+	mVersionChanged(false),
+	mCapabilityName(CAPABILITY_NAME),
+	mCapabilityURL(""),
+	mFileNameCurrent(FILENAME_DEFAULT),
+	mFileNameDefault(FILENAME_DEFAULT),
+	mFileNameNew(""),
+	mFilePath(LL_PATH_APP_SETTINGS),
+	mSimulatorFeature(SIMULATOR_FEATURE),
+	mSyntaxIdCurrent(LLUUID()),
+	mSyntaxIdNew(LLUUID())
+{
+}
 
 std::string LLSyntaxIdLSL::buildFileNameNew()
 {
-	mFileNameNew = mSyntaxIdNew.isNull() ? FILENAME_DEFAULT : "keywords_lsl_" + mSyntaxIdNew.asString() + ".llsd.xml";
+	mFileNameNew = mSyntaxIdNew.isNull() ? mFileNameDefault : "keywords_lsl_" + mSyntaxIdNew.asString() + ".llsd.xml";
 	return mFileNameNew;
 }
 
@@ -146,11 +163,11 @@ bool LLSyntaxIdLSL::checkSyntaxIdChanged()
 			region->getSimulatorFeatures(simFeatures);
 
 			// Does the sim have the required feature
-			if (simFeatures.has("LSLSyntaxId"))
+			if (simFeatures.has(mSimulatorFeature))
 			{
 				// get and check the hash
-				mSyntaxIdNew = simFeatures["LSLSyntaxId"].asUUID();
-				mCapabilityURL = region->getCapability("LSLSyntax");
+				mSyntaxIdNew = simFeatures[mSimulatorFeature].asUUID();
+				mCapabilityURL = region->getCapability(mCapabilityName);
 				if (mSyntaxIdCurrent != mSyntaxIdNew)
 				{
 					LL_DEBUGS("SyntaxLSL") << "Region has LSLSyntaxId capability, and the new hash is '" << mSyntaxIdNew.asString() << "'" << LL_ENDL;
diff --git a/indra/newview/llsyntaxid.h b/indra/newview/llsyntaxid.h
index 0f347a6ce30b59d4a2a2e72ba78f1842b87cca05..f14693d619fe32b8e032195a4fe50b627a0f060f 100644
--- a/indra/newview/llsyntaxid.h
+++ b/indra/newview/llsyntaxid.h
@@ -72,6 +72,10 @@ friend class fetchKeywordsFileResponder;
 	void			setFileNameNew(const std::string name) { mFileNameNew = name; }
 	
 private:
+	static const std::string CAPABILITY_NAME;
+	static const std::string FILENAME_DEFAULT;
+	static const std::string SIMULATOR_FEATURE;
+
 	bool		mInitialized;
 	LLSD		mKeywordsXml;
 	bool		mLoaded;
@@ -79,11 +83,14 @@ friend class fetchKeywordsFileResponder;
 	bool		mVersionChanged;
 	file_fetched_signal_t	mFileFetchedSignal;
 	
+	std::string		mCapabilityName;
 	std::string		mCapabilityURL;
 	std::string		mFileNameCurrent;
+	std::string		mFileNameDefault;
 	std::string		mFileNameNew;
 	ELLPath			mFilePath;
 	std::string		mFullFileSpec;
+	std::string		mSimulatorFeature;
 	LLUUID			mSyntaxIdCurrent;
 	LLUUID			mSyntaxIdNew;
 };