WIP: histfactory wrappers