toolbox: Make some function parameters constant
toolbox: Update io