I refactored to pull all of the simple cases up into the option definition, but the more complex cases have to be defined below.