Addressed the code analysis warning.