Fix signature of SetDestroy
Fix warning in Set with constant element type
Get rid of done/donep fields in Promise type