Migrated API options from a dict to a class.
Added additional test cases for blank parameters as lists.