Use defaults object and extend it with options.