add option style and type definitions