Bug Fix: Added missing resource entry.
Bug Fix: Allow object to be deleted by actually disconnecting it from everything before delete op.