Added dependent destruciton for students.