Fix parameters to work with 2.6.x