change return type of "withOption" definition method to 'id', to match common style