adds SigOrD type class