Honey, Whodunit?

Wayne learns about his family reading thriller stories. He then goes up to his lab and writes a story about a detective that becomes extremely confusing. Some of the characters looked very familiar in his story.