All persons discharging functions under this Act shall be deemed to be public servants within the meaning of Section 21 of the Indian Penal Code (45 of 1860.).