Update to use options instead of parameters.