Given the number of parameter and how hard is to come with a good name for this function, I think we're better off inlining it back.