All persons discharging functions under this Act shall be deemed to be public servants within the meaning of section 21of the Indian PenalCode.