Handle classes without constructor.