Using generic conversion for option parsing.