ENT-648: remove EnvUtils and validate class names on white list