rename ReferenceCounted to ReferenceCountedTyped