Set class-name if data-type present