WIP, temporary support for setting type of last param added to flyout