Refactored class description handling.