Deleting reference on destroy.