Fixed options not being passed through correctly.