Few corrections.

Corrected exception text, shortened some variable names and removed config dependency from normalizer.