Fix regression preventing params from being an array. Closes #127