docs: def arrays_to_file(file_prefix=None):
      """Returns a serialisation registry for serialising NumPy data and
      as well as any UFuncs that have no normal way of retrieving
      qualified names."""
      return Registry(
          types={
              numpy.ndarray: SerNumpyArrayToFile(file_prefix)
          },
          hooks={
              '<ufunc>': SerUFunc()
          },
          hook_fn=_numpy_hook
      )