Remove dead-code depending on sdt.core preferences.
Merge pull request #181 from dragos/refactor/remove-dead-code-prefs

Remove dead-code depending on sdt.core preferences.