Use get_id_const on the key to be removed by delete_class