Update parameters ordering
This splits the parameters into groups (roughly) matching preinstall, init and sentinel.