Improve how the dummy parameter are passed to the Dim::dim function.