Align with changes in troopjs/troopjs-core#151.