Adding infrastructure to use pyglm data