Refactor SmellWarning.
Merge pull request #328 from troessner/refactor-smell-warning-initializer-reloaded

Refactor SmellWarning.