Mapper.from_h spec: factor out repos