Generic set/get for classifications