Renamed story type to story_type