Add some option parsing code.