Rearranges params on callbacks