Added Unique object and fixed more reference counting