Adapt to installer api change