Use parents instead of global options.

Make the interface more intuitive by using parents to specify shared options
instead of setting them as global options.