Rework getparam().