Refactor settings key into immutable variable.