Properly merge options.