I'd be happier with an explicit mapping instead of constructing a class name on the fly from arbitrary externally-sourced data.