Add function to create options-dict.