Original: It has several sub-genres, including detective fiction (including the whodunnit), legal thriller, courtroom drama and hard-boiled fiction.
Simplified: It has several sub-genres, such as detective fiction, legal thriller, and courtroom drama.