Pass params array to the action callback (issue #40)