(3)References in sections 318, 319 and 320 to payments made to any Director of a company by way of compensation for loss of office, or as consideration for retirement from office, or in connection with such loss or retirement, do not include any bona fide payment by way of damages for breach of contract or by way of pension in respect of past services; and for the purposes of this sub-section the expression "pension" includes any superannuation allowance, superannuation gratuity or similar payment.