Revert undesired changes to StoredObject.TYPE