Wrap options to a struct