Pass the replica created to hooks rather than the Elem it points to.