Add option parsing.