Preliminary support for multiple fits, see git issue 1