Add the weak reference type taken from dsmoke.