This should make the DbalRepository implementation a bit more memory efficient