Setting aside discriminatory provisions of prison manuals of some states, the Supreme Court issued a slew of directions on Thursday to stop caste-based discrimination in jails and deprecated the distribution of work and segragation of prisoners in separate wards as per their castes.