Now works with minimal model.