Renamed params to options for consistency.