Replace copy&paste from HeaderFile to GpuHeaderFile with subclassing. Only the __str__ method differs.