Method to complete scenario.
Clear properties with undefined when setting and merging default request options. Merge default request options instead of using extend.