Added "type" column to the options table