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